<%@page import="com.lrf.freeshipping.bean.PageBean"%>
<%@page import="com.lrf.freeshipping.tool.LogTool"%>
<%@page import="com.lrf.freeshipping.jdbc.SQLConstant"%>
<%@page import="com.lrf.freeshipping.jdbc.JDBCOption"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>错误报告</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
   
     <link rel="shortcut icon" type="image/x-icon" href="assets/image/favicon.ico" />
    
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="css/theme.css">
    <link rel="stylesheet" type="text/css" href="css/font-awesome.css">
    
    <script src="js/jquery-1.8.1.min.js" type="text/javascript"></script>
    
     <script type="text/javascript">
      function enptyLog() {
	    var se=confirm("确定清除异常信息？");
	    return se;
	}
    </script>
    
    <!-- Demo page code -->
    
    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
    </style>
</head>

  <body> 
    <!-- 引入头 -->
    <jsp:include page="head.jsp"/>
    <!-- 检查是否是登录状态 -->
    <jsp:include page="check-sign-in.jsp"></jsp:include>
    <div class="container-fluid">
        
        <div class="row-fluid">
            <!-- 引入左菜单栏 -->
            <jsp:include page="left-menu.jsp" flush="true"></jsp:include>
            <script type="text/javascript" src="js/jquery.jqplot.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/graphDemo.js"></script>

<div class="span9">

<h1 class="page-title">错误报告</h1>

<div class="row-fluid">
    <div class="block">
        <form action="EnptyLogs" class="block-heading" data-toggle="collapse" data-target="#chart-container" onsubmit="return enptyLog()">
                                 系统运行异常信息
        <input type="submit" class="btn btn-primary" value="清除" style="float: right;"/>
        </form>
        <div id="chart-container" class="block-body collapse in" style="min-height: 400px">        
         <br>
          <%=LogTool.getLogs()%>
        </div>
    </div>
</div>

</div>

        
    <footer>
        <hr>
        
        <p class="pull-right">develop from <a href="#" title="iwenkeji" target="_blank">iwenkeji</a></p>
        
        
        <p>&copy; 2015 <a href="#">跨进电商</a></p>
    </footer>
    

    

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/bootstrap.js"></script>

  </body>
</html>